from abc import ABC, abstractmethod
import pandas as pd

class DataSourceAdapter(ABC):
    @abstractmethod
    def get_daily_data(self, symbol: str, start_date: str, end_date: str) -> pd.DataFrame:
        """
        获取日K线数据

        参数:
        - symbol: 股票代码
        - start_date: 开始日期 (YYYYMMDD)
        - end_date: 结束日期 (YYYYMMDD)

        返回:
        - pd.DataFrame: 包含日K线数据的 DataFrame
        """
        pass
